package com.gpframework.module.wages.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import javax.validation.constraints.*;

import java.util.Date;
import java.math.BigDecimal;

/**
 * @ClassName GzFleetMonthlyRecordAdd
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 车队月度Add对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GzFleetMonthlyRecordAdd {
    private static final long serialVersionUID = 1L;

    /** 月份 */
    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty("月份")
    private Date month;

    /** 车次次数 */
    @ApiModelProperty("车次次数")
    private Long trainNumber=0L;

    /** 单价 */
    @ApiModelProperty("单价")
    private BigDecimal  unitPrice=new BigDecimal(0);

    /** 金额 */
    @ApiModelProperty("金额")
    private BigDecimal  amountOfMoney=new BigDecimal(0);

    /** 扣减餐费 */
    @ApiModelProperty("扣减餐费")
    private BigDecimal mealBuckle=new BigDecimal(0);

    /** 其他补贴 */
    @ApiModelProperty("其他补贴")
    private BigDecimal otherSubsidies=new BigDecimal(0);

    /** 实发合计 */
    @ApiModelProperty("实发合计")
    private BigDecimal totalPaidIn=new BigDecimal(0);

    /** 排序 */
    @ApiModelProperty("排序")
    private Long sort;

    /** 备注 */
    @ApiModelProperty("备注")
    private String remarks;


    /** 部门 */
    @ApiModelProperty("部门")
    private String departmentName;

}
